package com.solutec.dia6;

public class Thema1_StatischeMethoden {
	
	// In Java gibt es keine Globale Methoden -revisar
	
	
	public static void main(String[] args) {

		sayHallo();
		
		int erg = sum(2,5); 
		System.out.println("erg = " + erg);
		System.out.println("erg = " + sum(2,5));
	}// end of main
	
	
	static int sum(int a, int b){
		return a+b;
	}
	
	static void sayHallo(){
	
		System.out.println("+++++++++++++++++++++++++++++");
		System.out.println("+++++++++++ Hello! ++++++++++");
		System.out.println("+++++++++++++++++++++++++++++");
	}

	
	static void printFromTo(int a, int b){
		for(int i = a; i<=b; i++){
			System.out.print("+");
		}
		
	}

}//end of class
